/*
package com.lzy.config;

import com.lzy.properties.TokenProperties;
import com.lzy.redis.RedisService;
import com.lzy.token.factory.impl.JwtTokenFactoryServiceImpl;
import com.lzy.token.manage.TokenManageService;
import com.lzy.token.manage.impl.TokenManageRedisServiceImpl;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

*/
/**
 * @author lzy by 2019/9/17 9:33
 *//*

@Configuration
@EnableConfigurationProperties(TokenProperties.class)
public class TokenAutoConfiguration {

    */
/*@Bean(name = "jwtTokenFactoryService")
    @ConditionalOnMissingBean
    public JwtTokenFactoryServiceImpl getJwtTokenFactoryService(TokenProperties properties) {
        return new JwtTokenFactoryServiceImpl(properties);
    }

    @Bean(name = "tokenManageRedisService")
    @ConditionalOnMissingBean
    public TokenManageService getTokenManageService(TokenProperties properties, JwtTokenFactoryServiceImpl jwtTokenFactoryService, RedisService redisService){
        return new TokenManageRedisServiceImpl(jwtTokenFactoryService, redisService, properties);
    }*//*

}
*/
